import React,{Component} from 'react'

import {ControlStyle} from './StyleSwitch'
import Switch from './Switch'

class Control extends Component{
    render(props){
        return(
            <ControlStyle>
                <p>{this.props.titles}</p>
                <Switch></Switch>
            </ControlStyle>
        )
    }
}
export default Control